// 封装 token
const TokenKey = 'token_key'
const setToken= (token)=> {
  localStorage.setItem(TokenKey, token)

}

const getToken= ()=> {
    return localStorage.getItem(TokenKey)
}

const removeToken= ()=> {
    localStorage.removeItem(TokenKey)
}

export { setToken, getToken, removeToken }
